import request from '../utils/request';

/**
 * 查询省市区
 * @param query
 * @returns {AxiosPromise}
 */
export const getProvices = query => {
    return request({
        url: '/sysPosition/getProvices',
        method: 'POST',
        data: query
    });
};

/**
 * 查看所有省市区
 * @param query
 * @returns {AxiosPromise}
 */
export const getAllPosition = query => {
    return request({
        url: '/sysPosition/getAllPosition',
        method: 'POST',
        data: query
    });
};

